#if !defined(AFX_BPSCREENWND_H__E9FF0992_0507_42DF_A387_32A5FF9E4782__INCLUDED_)
#define AFX_BPSCREENWND_H__E9FF0992_0507_42DF_A387_32A5FF9E4782__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BPScreenWnd.h : header file
//

enum BPDrawMode
{ 
	BP_DRAW_NONE = 0, 
	BP_DRAW_REAL_DATA,
	BP_DRAW_RESULT_DATA
};

/////////////////////////////////////////////////////////////////////////////
// CBPScreenWnd window

class CBPScreenWnd : public CWnd
{
// Construction
public:
	CBPScreenWnd();

// Attributes
protected:
	CString m_strBPResultTitle;
	CString m_strBPRealTitle;
	WORD	m_wRealBPValue;
	WORD	m_wSP, m_wDP, m_wMP, m_wPR;
	int 	m_nBPDrawMode, m_nTmpMode;
	DWORD	m_dwDrawTick;
	DWORD	m_dwDelayTick;
	
// Operations
public:
	void AddRealBPValue(WORD wValue);
	void SetBPResult(WORD wSP, WORD wDP, WORD wMP, WORD wPR);
	void SetBPDrawMode(int nMode, int nDelayTime=0);
	int  GetBPDrawMode();
	void OnIdle();
	
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBPScreenWnd)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CBPScreenWnd();

	// Generated message map functions
protected:
	//{{AFX_MSG(CBPScreenWnd)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	afx_msg void OnPaint();
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BPSCREENWND_H__E9FF0992_0507_42DF_A387_32A5FF9E4782__INCLUDED_)
